Exercises from An Introduction to Programming in Java