Implement pp6calculator Homework Exercise Part 1