Formatted the code and fixed irrigation

Formatted the code to follow Checkstyle and fixed irrigation so a plowed
plot would always watered if there was irrigation around it.