add length

reorder methods in header and c file

add remove_at stub