added Calculator class to main
added tests.py