Updates to Function, MasterMind, Window added

I started to add stuff I have to Function
Mastermind was not really changed
Window now has xmin, xmax, xres, etc. availible to be set and is pretty
much ready