fixed the stackends swap and clear methods

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
StackArithmetics square method

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Added Numeric type square method

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Modifications to Rich*, supporting square and direct usage of toString

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Screens support for new Stack implementation

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
MainController support for new stack implementation

Signed-off-by: Alexander Skjolden <alex@plastboks.net>