Implemented reading/writing from/to history file

File (.history) is located in the directory from which hreddit is executed.
Probably it will be better to use user's configs directory, I am not sure about that.