fixed error so no negative numbers allowed
fixed indentation error