move reading a board from file into a function
added block painter(color changer), fixed #6