Added stream reduce example
fix url
updated with generate method
fixed max to sum
added count and average
added long stream, intstream  and double stream examples
removed comment
format
added java.util.function.Function example
added java 8 Stream groupingBy example
organize imports
formatting