max, min and cut by parent methods working

more tests writtens too.