Return IO () from genBoard instead of button list