Moved logic into monadic interface
Used Monad.return to create board
Made makefile more flexible