Simple line-oriented calculator program. The class can also be used to create other calculator programs.