Added toWireBuffer function to assignment1 and cleared printouts.

Signed-off-by: Tim Sanwald <sanwald.tim@googlemail.com>