Min Cost Path Problem

Some issues with dynamic memory allocation , so used static memory allocation. It will soon be resolved.