implemented sequence-contains? and my-take-while functions