Fix for Exceptions seen while running UserProgram

1. Queen class had divide-by-zero exception
2. User Program was showing no moves when both the players are AI

Signed-off-by: Mayuresh Janorkar <janorkar@usc.edu>