Homework 2 (decoding) submission