initial commit
bug fix #1

casted user input to proper datatypes