Ruby Chess v3 part 4