added solution to the lonely integer problem