c++ constructor stuff: assignment operator implemented

Signed-off-by: samuel casa <sam@sorella.(none)>