Added the drawings and psudocode