Created ER algorithm and graph