added usermode "print" function. will make printf compliant later