finished the printhtml.rb