added error checking on passed in arguments
added error checking to arguments
updated readme
updated gemspec file