short functions

Added functions to handle shorts and ushorts