updated first assignment with Triangle with TDD