Ruby Chess v4 part 1