Adding bars to the code into the visualizer

Theoretical bar visualizer code added, need to debug the old code to
figure out why it does not want to work.