Fixed code inconsistencies

* 4 spaces per identation
* ; at the end of each statement
Merge pull request #3 from LuRsT/master

Fixed code inconsistencies