Crude solution for Selection inversion
Basic Functionality for revising Selection of piece

- there are still glitches
- the code is a bit messy
- scheduled for fix in subsequent commits
Small refactoring
Merge branch 'test' into jump

Conflicts:
	datastructures.h
	main.cpp