panel class implemented

All panel types are now subclasses of the panel superclass.
1: All panels now have a super constructor, super needs two arguments
for the grid size
2: rotate interface has been implemented TODO make it work