formatting code to Idea
Merge pull request #2 from jhickman/formatting

formatting code to Idea