Adds solution to border problem