Number 2 words
Just an exercise I made myself do after seeing an implementation with enough case statements to last a lifetime. Uses arrays and a little trick to make things streamlined.