--- from: http://rosettacode.org/wiki/Generate_random_chess_position