made a file for my commonly used functions xD, updated problems 284,286,304's comments/methods