Implementation of execute function for some of the Instructions