Finished Calculator engine