Playing around with operator= and swap functions.