added some string functions (borrowed from linux 0.01 :)