Updated Dependency installer script

I have updated the dependency installer script so that now it will not install the dependencies if they are already installed.

In the next PR, I will create a GUI for the installer.