set the basic calculator view flow from left to right to simulate commonly used calculators in appearance. updated the logic in performing calculations