fixed a the .rb file. added .to_i on the character length input