Code readability

Made if statements for checking input non case-sensitive.