Added solution for lines and dots

Key included