A small project in java just to prepare for an exam.