We're now able to set byte, short, int and long types

I am not to sure about the error checking on the long though.
It's kind of hard to overflow that data type and it still being
useful in my opinion.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>