added stuff assignment 13

comments
function with by ref
simple IO stubs