Homework8 Calcualtor working for 2 numbers revised