removed debugging printfs and moved example to it's own directory