Added basic null value and blank value handling. Tried exceptions but opted to go the simpler route since user doesn't have much control over the program.