Simple ruby decoder that takes a numeric value and parses out all alpha values based on decoding rules