Made calculator work with more arguments, checks and validates.
fixed so it can use just one number for some operations