Fixed formatting

Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>
Fixed formatting again and wrote git hook to prevent errors

Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>
Wrote pre-commit hook to run build test

Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>