Implemented random mines positions completely.