added some if-else- and switch constructs. Added ability to convert negative integers to their repsective binary representation