500 turns question lowercase y

Modified the 500 turns function to accept lower case y as well.