Random moves

Final check in for random moves generator. This generator generates
random moves assuming that there is a valid list of moves from a
particular position. The list SHOULD BE EMPTY if there is no valid
positions in case of headquarters!