added somethings to swich
added constuctor and destructor declaration
added somethings
added table of distances