Master Mind game written in Java for OOP course