Added code and tests for knights