Code style review
Extra whitespace on line ends removed
Nested control structures...
Coding style review
Coding style review