created a struct for the partition variables
added coding practices
created init and final functions to manage allocated memory
removed global master_filename variable
offest -> offset