TDD prime decompositor exercise