Mini Java Project 3 as a part of the course