Added decoder
Merge branch 'FSM-dev' of https://github.com/livingstore/BinPy into FSM-dev