initial checkstyle integration to fix indentation inconsistencies. source code has violations right now, but I want to make sure checkstyle is working in travis.ci before I fix them.
made indentation consistent. replaced tabs with 4 space indents