Psycho's inefficient sol and bits accepted solution added