Create calculator.cpp

Line 3 seems to can't ignore while the Qt Assisant doesn't include it.