Programming a checkers programm with process