Changed repr of interval to give correct representation as an object construction