Java console based programming assignment made as part of my course.