Backward cat looping mostly in shape, need to take care of a few bugs and implement forward cat loop.