added replace method for easy board changes
added simple test, fixed read_input, added temp input
update