Added comments for ideone code