Delete string.rb
Add check for nil using nil? method
Replace double not operator with equal to operator