nQueen Code

finally got the nQueen Code-- took me forever!