Added random placement of ships for AI.
Fixed stupid volatile errors.