`partition_into_k`
Added a few more functions.