Create decodeir.cpp