Solved problem 21.
Solved problem 22 with prelude.
Added solution to filter infinite list.
Removed redundant arguement.
Solved problem 23 with learning System.Random.