Fix for my first pull request

Fix for my first pull request  to fit project requirements.

-Deleted some unnecessary lines.
-Deleted some trailing white spaces.
-Deleted unnecessary indentation.
-Changed tabs for spaces.