Set.m complete

Implementation done on set.m