some simple exercise with vectors