implement functions resize + push_back
add for_each, at function + more tests