added include guard and str to int convert

used stringstream to convert byte in char array to int, added include
guards to header.