Chaned the main.cpp file [Code convention change]

Fixed mall spelling errors
structuring

made changes on mainwindow header and docinterface.ccp file , i didi
spaces where they are needed
pad parenthesized expressions with spaces

Changed the main.cpp file[structuring]
Merge pull request #43 from koketso122/master

pad parenthesized expressions with spaces
Code changes according to the conventions