Added the checkstyle file for M10
Performed checkstyle on all files
fixes