Rearranged functions and made a prototype function out of reduce.
Added.
Merge branch 'master' of github.com:gabrielnahmias/OneLiner

Conflicts:
	index.php

Overwriting with new changes.