public void buyFarm(){
        if(Gold<10) {
            MF.writeNarra("You don't have enough gold!");
            return;
        }
        if(MF.M.grid[NS-1][EW]<4) MF.M.setBlock(NS-1,EW,4);       
        else if(MF.M.grid[NS+1][EW]<4) MF.M.setBlock(NS+1,EW,4);
        else if(MF.M.grid[NS][EW-1]<4) MF.M.setBlock(NS,EW-1,4);
        else if(MF.M.grid[NS][EW+1]<4) MF.M.setBlock(NS,EW+1,4);
        else if(MF.M.grid[NS+1][EW+1]<4) MF.M.setBlock(NS+1,EW+1,4);
        else if(MF.M.grid[NS-1][EW-1]<4) MF.M.setBlock(NS-1,EW-1,4);
        else if(MF.M.grid[NS-1][EW+1]<4) MF.M.setBlock(NS-1,EW+1,4);
        else if(MF.M.grid[NS+1][EW-1]<4) MF.M.setBlock(NS+1,EW-1,4);
        MF.writeNarra("A new farm has been completed! This will provide +1 food/year.");
        Farms+=1;
        Gold-=10;
    }