Deleted the other post... not sure why that happened.
In regards to accidentally copying songs, I end up doing that sometimes, to be honest I think that taking aspects of songs is fine (and is great for improving) as long as you change it enough and include it as part of a unique song (which you did!).