Made progress in /lib/visualizer.rb, /lib/plotdots.rb, and /lib/pdfgenertor.rb