added a readme and pseudocode