About to clean up statepattern test project a little bit
Adding dynamic memory allocation to the state pattern test project - it works now