Add shorten version of implementation with reduce/reduce but commented
Remove garbage code