change contains for floating point to use isEqual()
contains works,  insert works only on float and int
templates working, hooray