Deleted Parser class. Created Calculator class
made base algorithm