Update project2014-P006

Added the encode and decode programs (project2014-P007(b))