created a new intervals function and started writing tests
made tests for intervals function. also adjusted circle so that it has to have 100 percent code coverage to pass