My Java assignment for second semester Software Development.