Typing out exercises from Heads Up Java