Cleanup of code (warnings, typos, spaces, newlines).

Was unreachable code:
```java
private boolean shouldWrite(long iteration) {
    if (writePercentage == 0) {
        return false;
    } else if (writePercentage == 100) {
        return true;
    } else if (writePercentage == 0) {
        return false;
    } else {
        return random.nextInt(100) <= writePercentage;
    }
}
```