implemented getter and setter for nibbles and added some error outputs

 - may have done an overkill with errors