refactoring to use an own Board Object
fixed bug: next number button didnt change next number correctly
making board size and maximum element value adjustable
refactoring member function in board object (for correct scope)