The following command needs to be run for the program:
python project.py
If pylab module is not installed, then run the following command and then the one above:
sudo apt-get install python-numpy python-scipy python-matplotlib
Information related to algorithm is provided in 'projectdescription.pdf' file in the repository.