create lib folder and author initial code for throw.rb