Learing Big(O) notation