handling \n in calculator