Simple A
A improved
Wave algorithm done