Add function works

Add function works now, also prints in varios ways.