Default parameters and logic fix

Can now leave initializer's 2nd argument out, which defaults to 10. Also
fixed else-ifs into just ifs.