psudo-code for playlist project