In this task one of the tests expects the outcome 5, which makes no sense, because 5 fields can never form a rectangle in the given grid. Please fix this!
9