Solution to Basic Ruby Inverse Case Exercise