added switch case for results object, changed name of switch case for dd object, added comments, added tests
formula for getting coverage array from an array table
get closest in array without going over formula getCurrentMaxCoverageForArrayTable, coded and tested