Pseudo Code of the project