Wrote a point free version
Merge pull request #1 from Stankalank/bp-point-free

Wrote a point free version