exercise of data structure course