Added exceptiones for border constructor and little play with inner classes just for practic