Added the ability to remove an element in an array. Close #40.