File encryption program written in C