imbalance_test function

Test the imbalance of randomisation via simulation