Added the top level inpaint function
modified grad_func for generating gradient of u and image
Created a new function for initialising u and renamed the generate_flags to init_flag