Created Calculator function and specified its prototype.