Automated partial dependancy list creation based on data in the table

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
fix coding style

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
fix bug

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>