add create_where method (create where clause from condition dict)