Simple vector implementation