Implemented decodeHex

Unlike encode this one actually already supports spaces and therefore multiple ids..

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>