Create mainwindow.cpp

creation of the mainwindow file