object oriented secret number solution