Passing most tests now..
Skipping invalid lines.
Using strtr instead of preg_replace_callback