Added 3 algorithms and changed things with streams

Added 3 algorithms:
- find all permutations of a string
- compress a string, all the same letters get compressed in one number
- test if a set of braces is valid like "{[()]}"