Problem Solving via Object-Oriented Programming