Add ability to determine if pure real/imaginary number
Fix string literal error in provided and and conditional problem in mine