added side arg to do_transition()
changed the behavior of get_conv_index()
fixed makefile to make debugging work