add in coin in a line solution