Updated code to proper formatting (part 2)

Updated formatting, changed updateBoard(), move(), and checkmate() to
static methods