This homework is a basic hill-climbing solution (with 5 restarts) to the 8 queens problem.