Added complexity analysis, note about big data.