Initial implementation of the CREATE query. Added new create_element_row() function