https://cscprogrammingtutorials.com/solutions-to-deitels-java-how-to-program-exercises/