Exercises from the book Learn Java The Hard Way