Create result.h

creating abstract class result