added: variable checks and converting booleans
Merge pull request #13 from Phil-Friderici/var_check

added: variable checks and converting booleans