Added algorithm ideas to NOTES.