First draft of insert and contains functions