added other schedulers' implementations.
made it so writing to a file clears the previous contents
little tweaks here and there