Create mlpenc .c

copied from https://github.com/ramiropolla/mlpenc