placeMines functionality added with a basic algo, minor bug fix elsewhere