Iterate

Stack implemented, tested and commented. Added also the substring struct.