changed license to MIT, seriously why did I even use BSD for such simple software?
Implemented MinMax, it feels a bit bad, but I will work it out