Recreating basic algorithms utilizing TDD