removin randint function
fixing loop bound. fixing cell vs idx issue. Adding debug printing.
code cleanup. Fix segment constructor. Add debug printing.
update testify almostEqual references
fix print formatting
add tostring function
bug fixes
updating almostEqual ref
added learn/prediction test
moving utils code into subpackage
update readme