satifying domain tests
satisfying side length tests
adding controller and tests