Added help and implemented checking if a square is valid before allowing placement.