Well, Audicity is a nice recorder, that can record in layers, etc. Thats your first port of call for anything recording related.
Then, Renoise is a free tracker which is well worth checking out. Its not simple, but once you learn it, it can do some very complex things.
Check some music out made using it, on Youtube.