twoChar: two characters from an index
Given a string and an index, return a string of length 2 starting at that index. If the index is too big or too small for 2 characters to fit, use the first 2 characters instead. The string length will be at least 2. Step through twoChar: a bad index is simply replaced with 0, so one return handles both cases.