That guy needs to get a real medal or something.

If you read the explanation it goes right down the path. Then to read the actual code. Aweome.