Delete a redundant function
Turn on a few warnings
Install the random library first