Spaghetti pie with ricotta and eggs