The program coded during the study of the Ivor Horton's book: Beginning java, java 7 edition