Random generation works. Some issues with top and bottom ranges

Signed-off-by: Kolijn World <kolijn.wolfaardt@gmail.com>