implemented Calculate() and added unit tests for Stack and Queue classes