Working 'cat' program