Add Checkstyle

Add a checkstyle config in order to more easily make sure that contributions meet guidlines.

Run using `gradle check`
It could be fixed in three ways
- Wrapping the Thread in parenthesis
- Letting checkstyle ignore this special case
- Assign the Thread a variable and start it on the next line