This is a program for SDP assignment 3