Introduced slice/3 predicate

Inspired by ruby slice function, slice list into chunks with N element
in each chunk.

?- slice([1,2,3,4,5,6,7], 3, Xs).
Xs = [[1, 2, 3], [4, 5, 6], [7]].